package com.evry.marshallingtest.oldmodel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name="Database", namespace="http://www.spring3sandbox.com/model")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Database", propOrder = {
    "customers","products", "orders"
})
public class Database {
    @XmlElement(name="Customers", namespace="http://www.spring3sandbox.com/model")
    private Customers customers;
    @XmlElement(name="Products", namespace="http://www.spring3sandbox.com/model")
    private Products products;
    @XmlElement(name="Orders", namespace="http://www.spring3sandbox.com/model")
    private Orders orders;
    
    
	public Customers getCustomers() {
		return customers;
	}
	public void setCustomers(Customers customers) {
		this.customers = customers;
	}
	public Products getProducts() {
		return products;
	}
	public void setProducts(Products products) {
		this.products = products;
	}
	public Orders getOrders() {
		return orders;
	}
	public void setOrders(Orders orders) {
		this.orders = orders;
	}
	public Database() {
		this.customers = new Customers();
		this.products = new Products();
		this.orders = new Orders();
	}
    
    

    
}
